package com.huli.mapper;

import com.huli.domain.Patient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 张庆阳
* @description 针对表【patient】的数据库操作Mapper
* @createDate 2025-03-13 11:18:38
* @Entity com.huli.domain.Patient
*/
public interface PatientMapper extends BaseMapper<Patient> {

    Patient findById(Integer id);

    List<Patient> findAll();

    void updateId(@Param("id") Integer id, @Param("phone") String phone);

    void add(Patient patient);

    String findByName(Integer id);
}




